import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/views/Home/Home.vue'
import User from '@/views/User/User.vue'



Vue.use(VueRouter)

const routes = [
//  首页
{path:'/home' , component: Home ,},
// 我的
{path:'/user', component:User}
]

const router = new VueRouter({
  routes
})

export default router
